<extend name='Index/index' />
<block name="main">
<div id="tou">
    <li>
        <i class="icon-home home-icon"></i>
        <a href="<{:U('Index/index')}>">首页</a>
    </li>
    <li>》</li>
    <li class="active">角色列表</li>
</div>
		<table class="table table-bordered table-hover">
			<tr align='left' >
				<th>ID</th>
				<th>角色名</th>
				<th>说明</th>
				<th>状态</th>
				<th>拥有权限</th>
				<th>操作</th>
			</tr>
			<volist name="list" id="vo">
				<tr>
					<td><{$vo.id}></td>
					<td><{$vo.name}></td>
					<td><{$vo.remark}></td>
					<td><if condition="$vo.status eq 1">启用<else />禁用</if></td>
					<td width=200 >
						<volist name="vo.node" id='va'>
							<{$va}> &nbsp;
						</volist>
					</td>
					<td>
						<a href="<{:U('Role/del',array('id'=>$vo['id']))}>">删除</a>
						<a href="<{:U('Role/edit',array('id'=>$vo['id']))}>">修改</a>
						<a href="<{:U('Role/nodelist',array('id'=>$vo['id']))}>">分配权限</a>
					</td>
				</tr>
			</volist>
		</table>
</block>